#include "Object.h"
#include <crtdbg.h>

#ifdef _DEBUG
void* CObject::operator new(size_t size,const char* sFile,int nLine)
{
	return _malloc_dbg(size,_CLIENT_BLOCK,sFile,nLine);
}

void CObject::operator delete(void* pMemory)
{
	_free_dbg(pMemory,_CLIENT_BLOCK);
}

void CObject::operator delete(void* pMemory,const char* ,int )
{
	_free_dbg(pMemory,_CLIENT_BLOCK);
}
#endif